home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-04-02 | 12.0 KB | 298 lines | [TEXT/CWIE] |
- ========================================================================
- Metrowerks Java VM Release Notes
- ========================================================================
-
- Version: 1.1.5
- Date: Feb 15, 1998
- Author: Michael C. Stricklin, Scott Kovatch, Marcus Jager, Kevin Buettner, Mike Farrar
- ========================================================================
-
- ========================================================================
- New Features in This Version
- ========================================================================
- - Updated to JDK 1.1.5 source base
- - Full support for JNI. You can write your native methods using JNI-
- style calling conventions, and they will be called, and you can
- call back to Java as needed.
- - The VM now executes applications (i.e., those launched via the
- javai window) via an app runner that kicks off the app in its own
- thread. This greatly improves the responsiveness of the VM, and
- allows System.in to work again.
- - SystemInput.java has been rewritten for the 1.1 event model.
- - Appletviewer now reloads classes every time instead of using its
- cached classloader. This lets you test your applet without having
- to quit and relaunch MW Java every time.
-
- ========================================================================
- Bugs Fixed in This Version
- ========================================================================
- 1.1.5
- - Fixed a bug when killing from the debugger.
- - System.exit now works properly.
- - FileDialog crasher fixed--native method wasn't making sanity checks.
-
- 1.1.3
-
- - Lists now autoscroll when dragged outside of their boundaries,
- and selected items draw in the hilite color. You can also drag-
- select.
- - Fixed problem in JIT where JNI native methods wouldn't get called.
- - Panels now clip out their subpanes before translating the origin.
- This caused odd rectangles to not get drawn in lightweight
- components.
- - We now use many of the Sun defaults for SystemColor, and only
- override the highlight color and window colors. Also, the opaque-
- ness wasn't being set, so Color.equals() wasn't working.
- - Set up a default page amount for scroll panes. Due to a Sun bug
- (implementation choice?) setting the page increment has no effect.
- - Fixed an incorrect handling of JMSetFrameSize. Windows now resize,
- and when moved, correctly report their location as a COMPONENT_
- MOVED or COMPONENT_RESIZED event.
-
- 1.1.3b3
-
- - File.exists, canRead, canWrite are now correctly implemented.
- - File.renameTo works on directories as well as files.
- - Scrollbars didn't take into account the visible parameter when
- setting the max value of a scrollbar.
- - javah and javap were fixed so that an exception during execution
- didn't render them useless again.
- - Fixed generation of Accept-Language to use '-' instead of '_'
- - Fixed closing of sockets so that they always get destroyed.
- Previously, a bad OT call could abort the disposal of the socket.
- - Sockets are now directly destroyed instead of waiting for the net
- idler thread to kill them.
- - We again call CloseOpenTransport when the VM is shut down or
- unloaded.
- - Set the port-reuse flag to true so that sockets behave better
- (mostly for ServerSockets) Creating a generic ServerSocket now
- works correctly.
-
- 1.1.3b2
-
- - TextComponents now correctly handle strings that are substrings
- of other strings.
- - HTTP get now sends user.language and user.region in the request.
- - VM doesn't permanently shut itself down if an exception occurs
- trying to start an app or applet.
- - JNI cleaned up significantly. JManager interface modified slightly
- to allow JNI through JManager -- documentation and a stub library
- will be made available shortly.
- - ScrollPane rewritten. Remember that Java moves the component, not
- the scrollpane.
- - More JIT fixes.
- - Appletviewer now correctly calls stop() and destroy() when destroyed via
- JMDisposeAppletViewer.
- - JPEG images work again.
- - Numerous tools missing from the sun.tools.* hierarchy were added
- - sunw.* classes necessary for beans support added.
- - RMI default implementations that are autogenerated during the win/solaris
- build were generated and added to classes.zip. RMI now works, but the
- registry server will enter a Java tight loop due to problems with
- the MW Java application method of running code.
-
- 1.1.3b1
-
- - First update release to CWP1
- - VM now correctly identifies user's language, country, and timezone.
- - TextEvents are now generated when the user changes the text in a
- TextField or TextArea
- - Scrollbars now work properly again
- - MenuShortcuts under System 8 use Appearance Mgr.
- - Numerous 68k JIT fixes
- - CheckboxMenuItems couldn't be added to a menu - fixed.
- - Fixed bug in socket read implementation so an orderly disconnect
- doesn't throw an exception. Return gracefully -- future reads on
- the same socket will generate an exception, however.
-
- 1.1.3d19
-
- - Fixed intermittent bug in JSM_JavaStringToCString.
-
- 1.1.3d18
-
- - Added feature for percentage width and height
- - Fixed bug causing additional redraw when applets hide.
-
- 1.1.3d17
-
- - JIT fix for CFM68k -- longs not moved around correctly.
- - Fix in MacTCP code
- - Improved messages in CAB downloading
-
- 1.1.3d16
-
- - Merged in 1.1.3 VM source code -- Note the version change.
- - JIT fix in CSE optimization
- - Reverted back to old build project -- d15 was a bad build.
-
- 1.1.2d15
-
- - Fixed handling of null java strings better when TEC isn't in use.
- - More JIT fixes
- - JIT now has CSE, resulting in an 80 point CaffeineMark increase.
- - AppletViewer handles % in height and width, but doesn't size to match.
- - Fixed drawing focus problem with text areas.
-
- 1.1.2d14
-
- - OBCI re-integrated into VM.
-
- 1.1.2d13
-
- - Numerous JIT fixes
- - OBCI re-integrated into VM.
-
- 1.1.2d12
-
- - Changed back to using handleExpose instead of handleUpdate, as
- this was breaking a number of applets.
- - Added more page types to the applet locator.
-
- 1.1.2d10
-
- - Fixed bug in getFontListInternal that was overwriting memory, causing
- the GC to blow up.
- - 68k cleaned up.
-
- 1.1.2d9
-
- - Fixed memory allocation problems that would prevent VM from running
- on machines with small amounts of memory.
- - 68k problems fixed, but JIT will have problems with float values.
- - Menus now delete completely when deleted (no dangling menu titles)
- - More PowerPlant command hierarchy problems fixed. Applets should go
- away without crashing now.
- - CAB loader now checks for existence of CAB library before using it.
- If not available, goes on looking for jar archives, and if none
- of those are available, downloads one at a time.
-
- 1.1.2d8
-
- - Build problems fixed. VM now loads correctly on 68k and PPC, JIT
- and non-JIT.
-
- 1.1.2d7
-
- - Fixed LARGE bug related to state where VM can get a NIL target, causing
- very very bad things to happen. This fixes a slew of random bugs,
- typically when closing windows or shutting down applets.
- - Fixed applet viewer to accept html pages with an extension of .dyn
- (Sony Station)
- - Changed CAB loader to be synchronized so only one applet downloads
- at a time. This prevents multiple applets from trying to write the
- same file to disk at the same time.
- - Fixed applet viewer to generate a default applet name if one isn't
- specified by the applet tag. I'm not sure if this is completely
- kosher, because the applet is expected to provide a tag, but it
- appears as though other java's are doing this.
-
- 1.1.2d6
-
- - Significant improvements in CAB file support. The applet loader now
- deals with them correctly, and deletes the files after downloading.
- Progress information is also printed in the status bar.
- - MW AppletViewer wasn't working with system properties, but was instead
- creating its own. This is bad, as many JManager related properties only
- can be found in the system properties.
-
- 1.1.2d5
-
- - Key events had the wrong keycode for normal characters. We now map
- the Mac key/character to the appropriate Java keycode.
- - Command key equivalents in a TextArea were broken. This is now
- fixed, but they aren't reflected in the menu due to a limitation
- in the JManager interface.
- - Focus events in TextAreas weren't being generated correctly, because
- the TextArea never took the focus.
- - Arrow keys now work in lists.
-
- 1.1.1d4
-
- - Components were always being shown regardless of whether or not
- they were visible. Fixed.
- - Changed PopupMenu to always install menu instead of just when it
- exists.
- - Text Component: String offset wasn't being taken into account when
- getting the text for a setText call.
-
- 1.1.1d3
-
- - Fixed large memory leak in the garbage collector.
- - Event handling: Key events that are handled natively now have their
- consumed field set. This caused lists (for example) to process the
- keypress twice.
- - Lists: Lists now erase themselves before drawing their cells.
- - Canvas/Container/Window drawing: These components no longer erase
- themselves natively before invoking paint(). The component's update()
- method is now called, which erases the component from within Java.
-
-
- ========================================================================
- Known Bugs and Incompatibilities
- ========================================================================
-
- * The Metrowerks AppletViewer may get stuck in a loop when exiting. Using
- the Sun appletviewer will alleviate the problem.
-
- * The VM may hang if 'Quit' is chosen after an exception has been thrown.
-
- * If you are stopped at a breakpoint in your Java code and kill your Java
- application or applet, the VM will occasionally crash. Typing ES from
- MacsBug should escape you back to the debugger without any problems.
-
- Giving the debugger more memory appears to alleviate the problem. We
- are investigating whether or not a fix can be completed.
-
- * If you add the parameter "-exit" to your Java Application, Metrowerks
- VM will allow the application to call System.exit(). The default is
- the tag "-noexit". By default a call to System.exit() will throw a
- java.lang.SecurityException. This is handy to know for certain Java
- applications. This must be done from the "javai" window. It isn't
- applicable from the application window.
-
-
- ========================================================================
- Additional Notes
- ========================================================================
-
- - With this release, all 1.1 features are now supported. This includes:
-
- - JNI
- - Clipboard
- - 1.1 event model
- - New Graphics methods/api changes
- - New Font names
- - PopupMenu
- - MenuShortcuts
- - Image.drawStretched
- - System colors (control, text, menu, etc.)
- - Printing
- - ScrollPane
- - New DatagramSocket features (TTL, etc.)
- - TextArea -- TextArea supports scrollbars and word wrap in a different
- way than Java 1.0.2. Get a copy of the book _Java AWT Reference_ by John
- Zukowski for more information, or check the Java web site.
-
- - To use this version of Metrowerks Java, the files MW Java VM PPC, and
- the Classes and lib folder must reside in the same folder as Metrowerks
- Java.
-
- ========================================================================
- Contacting Metrowerks
- ========================================================================
-
- For bug reports, technical questions, and suggestions, please use the
- forms in the Release Notes folder on the CD, and send them to
-
- support@metrowerks.com
-
- See the CodeWarrior on the Nets document in the Release Notes folder for
- more contact information, including a list of Internet newsgroups,
- online services, and patch and update sites.
-
- ========================================================================
-
-
- Metrowerks Corporation
-